package com.polaris.live.ui.live.widget.listener

/**
 * 同声传译发生变化
 *
 * @author Created by 半仙 on 2023/11/18/018 11:27
 */
interface OnTranslationChangeListener {
    /**
     * 切换同声传译语言
     */
    fun onTranslationLanguage(language: String)

    /**
     * 同时传译开关
     */
    fun onTranslationSwitch(isOpen: Boolean, needUnInit: Boolean = false)

    /**
     * 设置口语语言
     */
    fun onSetSpeechLanguage(language: String)

    /**
     * 初始化同声传译
     */
    fun onInitTranslation(key: String, translationLanguage: String, speechLanguage: String)
}